package com.youshang520i.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.*;
import org.springframework.core.env.Environment;

//@Import(value = {com.youshang520i.demo.exclude.MyConfig2.class, com.youshang520i.demo.exclude.MyConfig.class})
//@ImportResource

@MapperScan(value = {"com.youshang520i.demo.**.mapper"})
@SpringBootApplication(scanBasePackages = {"com.youshang520i.**"})
public class DemoApplication {


    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }

}
